package pattern.decorator;

/*
 * @author changfei
 * @date  2023/11/28 15:23
 * @description 配料
 */
public abstract class Ingredients extends FireRice {

    private  FireRice fireRice;

    public Ingredients(FireRice fireRice) {
        this.fireRice = fireRice;
    }

    @Override
    public String desc() {
        return  this.fireRice .desc();
    }

    @Override
    public int price() {
        return  this.fireRice .price();
    }
}
